package com.njym.java.security.app.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2020-03-10 14:13:20
 */
@Table(name = "questiontbl")
public class Questiontbl implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //问题表
    @Id
    private Integer id;
	
	    //问题名称
    @Column(name = "question_name")
    private String questionName;
	
	    //问题分类 1单选  2 多选  3.问答题
    @Column(name = "question_type")
    private Integer questionType;
	
	    //分值
    @Column(name = "score")
    private Integer score;
	
	    //问卷id
    @Column(name = "invest_id")
    private Integer investId;
	
	    //
    @Column(name = "deleted")
    private Integer deleted;

	//问题排序
	@Column(name = "question_order")
	private Integer questionOrder;

	/**
	 * 设置：问题表
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：问题表
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：问题名称
	 */
	public void setQuestionName(String questionName) {
		this.questionName = questionName;
	}
	/**
	 * 获取：问题名称
	 */
	public String getQuestionName() {
		return questionName;
	}
	/**
	 * 设置：问题分类 1单选  2 多选  3.问答题
	 */
	public void setQuestionType(Integer questionType) {
		this.questionType = questionType;
	}
	/**
	 * 获取：问题分类 1单选  2 多选  3.问答题
	 */
	public Integer getQuestionType() {
		return questionType;
	}
	/**
	 * 设置：分值
	 */
	public void setScore(Integer score) {
		this.score = score;
	}
	/**
	 * 获取：分值
	 */
	public Integer getScore() {
		return score;
	}
	/**
	 * 设置：问卷id
	 */
	public void setInvestId(Integer investId) {
		this.investId = investId;
	}
	/**
	 * 获取：问卷id
	 */
	public Integer getInvestId() {
		return investId;
	}
	/**
	 * 设置：
	 */
	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}
	/**
	 * 获取：
	 */
	public Integer getDeleted() {
		return deleted;
	}

	public Integer getQuestionOrder() {
		return questionOrder;
	}

	public void setQuestionOrder(Integer questionOrder) {
		this.questionOrder = questionOrder;
	}
}
